home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 April: Mac OS SDK / Dev.CD Apr 99 SDK1.toast / Development Kits / Interfaces&Libraries / Universal / Interfaces / AIncludes / FileTransferTools.a < prev    next >
Encoding:
Text File  |  1998-08-17  |  2.0 KB  |  85 lines  |  [TEXT/MPS ]

  1. ;
  2. ;    File:        FileTransferTools.a
  3. ;
  4. ;    Contains:    CommToolbox File Transfer Tools Interfaces.
  5. ;
  6. ;    Version:    Technology:    System 7.5
  7. ;                Release:    Universal Interfaces 3.2
  8. ;
  9. ;    Copyright:    © 1988-1998 by Apple Computer, Inc., all rights reserved
  10. ;
  11. ;    Bugs?:        For bug reports, consult the following page on
  12. ;                the World Wide Web:
  13. ;
  14. ;                    http://developer.apple.com/bugreporter/
  15. ;
  16. ;
  17.     IF &TYPE('__FILETRANSFERTOOLS__') = 'UNDEFINED' THEN
  18. __FILETRANSFERTOOLS__ SET 1
  19.  
  20.     IF &TYPE('__CONDITIONALMACROS__') = 'UNDEFINED' THEN
  21.     include 'ConditionalMacros.a'
  22.     ENDIF
  23.     IF &TYPE('__DIALOGS__') = 'UNDEFINED' THEN
  24.     include 'Dialogs.a'
  25.     ENDIF
  26.     IF &TYPE('__FILETRANSFERS__') = 'UNDEFINED' THEN
  27.     include 'FileTransfers.a'
  28.     ENDIF
  29.  
  30.  
  31.                                                             ; DEFs 
  32. fdefType                        EQU        'fdef'
  33. fsetType                        EQU        'fset'
  34. fvalType                        EQU        'fval'
  35. flocType                        EQU        'floc'
  36. fscrType                        EQU        'fscr'
  37. fbndType                        EQU        'fbnd'
  38. fverType                        EQU        'vers'
  39.  
  40.                                                             ; control 
  41. ftInitMsg                        EQU        0
  42. ftDisposeMsg                    EQU        1
  43. ftSuspendMsg                    EQU        2
  44. ftResumeMsg                        EQU        3
  45. ftMenuMsg                        EQU        4
  46. ftEventMsg                        EQU        5
  47. ftActivateMsg                    EQU        6
  48. ftDeactivateMsg                    EQU        7
  49. ftGetErrorStringMsg                EQU        8
  50. ftAbortMsg                        EQU        52
  51. ftStartMsg                        EQU        100
  52. ftExecMsg                        EQU        102
  53. ftSendMsg                        EQU        103
  54. ftReceiveMsg                    EQU        104
  55.  
  56.                                                             ; setup 
  57. ftSpreflightMsg                    EQU        0
  58. ftSsetupMsg                        EQU        1
  59. ftSitemMsg                        EQU        2
  60. ftSfilterMsg                    EQU        3
  61. ftScleanupMsg                    EQU        4
  62.  
  63.                                                             ; validate 
  64. ftValidateMsg                    EQU        0
  65. ftDefaultMsg                    EQU        1
  66.  
  67.                                                             ; scripting 
  68. ftMgetMsg                        EQU        0
  69. ftMsetMsg                        EQU        1
  70.  
  71.                                                             ; localization 
  72. ftL2English                        EQU        0
  73. ftL2Intl                        EQU        1
  74. FTSetupStruct            RECORD 0
  75. theDialog                 ds.l    1                ; offset: $0 (0)        ;  the dialog form the application 
  76. count                     ds.w    1                ; offset: $4 (4)        ;  first appended item 
  77. theConfig                 ds.l    1                ; offset: $6 (6)        ;  the config record to setup 
  78. procID                     ds.w    1                ; offset: $A (10)        ;  procID of the tool 
  79. sizeof                     EQU *                    ; size:   $C (12)
  80.                         ENDR
  81. ; typedef struct FTSetupStruct *        FTSetupPtr
  82.  
  83.     ENDIF ; __FILETRANSFERTOOLS__ 
  84.  
  85.